import request from '@/utils/request'
import { tradeApi } from '@/utils/comm'

// 查询租赁订单列表
export function listRentOrder(query) {
  return request({
    url: `${tradeApi}/rentOrder/list`,
    method: 'get',
    params: query
  })
}

// 查询租赁订单详细
export function getRentOrder(id) {
  return request({
    url: `${tradeApi}/rentOrder/` + id,
    method: 'get'
  })
}

